package fivestar.controller.service.impl;

import java.util.List;

import fivestar.controller.service.ReservationService;
import fivestar.model.dao.ReservationDao;

public class ReservationServiceImpl implements ReservationService{

	ReservationDao reservationDao;
	
	public void setReservationDao(ReservationDao reservationDao) {
		this.reservationDao = reservationDao;
	}
	@Override
	public List<Object[]> findlByDni(String dni) throws RuntimeException { 
		return reservationDao.findlByDni(dni);
	}

}
